package com.vstudy.zx.service;

import com.vstudy.zx.entity.Conversation;
import com.vstudy.zx.utils.page.ConversationPage;

import java.util.List;

public interface ConversationService {
    // 获取未读会话个数
    int count(Long te_id, Boolean status);

    List<Conversation> getConversations(ConversationPage page);

    // 标记已读 arr:conversation的id
    Boolean signRead(List<Long> arr);

    Boolean removeConvs(List<Long> ids);

    Long getConId(Long stuId, Long te_id);
}
